package com.cy.pj.modules.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class ModelViewController {
    @RequestMapping("/mv")
    public ModelAndView ModuleView(ModelAndView mv){
        mv.addObject("msg","hahahha");
        mv.addObject("default");
        return mv;
    }
}
